// vite.config.js
import { defineConfig } from "file:///D:/code/pcwp2.0_vite/node_modules/vite/dist/node/index.js";
import { createVuePlugin as vue } from "file:///D:/code/pcwp2.0_vite/node_modules/vite-plugin-vue2/dist/index.js";
import path from "path";
import externalGlobals from "file:///D:/code/pcwp2.0_vite/node_modules/rollup-plugin-external-globals/index.js";
var __vite_injected_original_dirname = "D:\\code\\pcwp2.0_vite";
var resolve = (dir) => path.resolve(__vite_injected_original_dirname, dir);
var vite_config_default = defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      "@": resolve("src")
    },
    extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".vue"]
  },
  server: {
    open: true,
    port: 1567,
    hmr: { overlay: false },
    proxy: {
      "/api": {
        target: "http://192.168.100.100:6001",
        changeOrigin: true,
        rewrite: (url) => url.replace(/^\/api/, "")
      }
    }
  },
  build: {
    rollupOptions: {
      external: ["vue", "element-plus"],
      plugins: [
        externalGlobals({
          vue: "Vue",
          vuex: "Vuex",
          "vue-router": "VueRouter",
          axios: "axios",
          "element-ui": "ELEMENT",
          jquery: "$"
        })
      ]
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxjb2RlXFxcXHBjd3AyLjBfdml0ZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcY29kZVxcXFxwY3dwMi4wX3ZpdGVcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6L2NvZGUvcGN3cDIuMF92aXRlL3ZpdGUuY29uZ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